home *** CD-ROM | disk | FTP | other *** search
-
- !Mole Config file
- =================
-
- This should be called <Mole$Dir>.Config, it is divided into lines
- separated by control characters, ie ones with ASCII values of less than 32.
- The first two characters on the line determine the meaning of the rest of
- the line.
- Options not specified in the file are set to their default values by the
- program, invalid options cause the line to be ignored.
- Parameters should be in base 10, they can be separated by spaces and/or
- commas, and missing parameters are treated as 0. Only very rudimentary range
- checks are done, so silly parameter values will lead to silly results.
- Possible options are:
-
- ## txt a comment, the rest of the line is ignored
-
- AF file initial atom types file to load, default is
- <Mole$Dir>.AtomTypes.Default
- FD dir directory to read initial fragments from, 'Mole' files in this dir
- are loaded as fragments, default is <Mole$Dir>.Fragments
-
- BG n,n,n back ground colour red, green, blue components (0-255)
- BD n,n,n bond colour
-
- DT n set display type to n, current values of n are 1 mono skeletal
- 2 skeletal
- 3 ball and stick
- 4 space filling
- 5 Van der Waals surface
- DS n dispersion of points over the VDW surface (larger values => less points)
- SH f show hydrogens if f=1, don't if f=0
- PR f pseudo-render molecule if f=1, don't if f=0
-
- SM f open Mover when main window is opened if f=1, don't if f=0
- SE f open Editor when main window is opened if f=1, don't if f=0
-
- RS n rotation step in Mover, only the integral part of n is considered
- TS n translation step, only the integral part of n is considered
- CU f continuous update in Mover on (f=1)/off (f=0)
-
- RR n,n rendering resolution (X pixels by Y pixels)
- AR n rendering aspect ratio
- FL n rendering focal length
- AM n ambient light intensity (0-255)
- BR n overall brightness, only the integral part of n is considered
- SD f calculate shadows on (f=1)/off (f=0)
- MT f multitask rendering on (f=1)/off (f=0)
- DL f default lamps on (f=1)/off (f=0)
-
- to add extra lamps use the command
-
- LP px,py,pz,tx,ty,tz,i,s
-
- where px,py,pz is the position of the lamp
- tx,ty,tz is the target
- i is the intensity (0-255)
- and s is the spread in degrees (0 => equal intensity in all directions)
-
- eg
-
- LP -0.5,0.5,-0.5, 0.66,0.50,0.10, 115, 60
-
- note: the DL command (if present) should appear before any LP commands,
- if not, or if more than one DL command appears in the file, the behaviour is
- undefined.
-
-